package com.xrz.sxm.aj.utils;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class PassAuthenticator extends Authenticator
{
	public PasswordAuthentication getPasswordAuthentication()
	{
		/**
		 * 这个地方需要添加上自己的邮箱的账号和密码
		 */
		String username = "账号";
		String pwd = "密码";
		return new PasswordAuthentication(username, pwd);
	}
}  